/*
 * @Author: Shber
 * @Date: 2024-06-28 15:35:28
 * @LastEditors: Shber
 * @LastEditTime: 2024-07-01 15:13:34
 * @Description: 
 */
import { createSSRApp } from "vue";
import * as Pinia from 'pinia';
import tmui from "./tmui"
import App from "./App.vue";
import mTabbar from '@/components/Tabbar'
import config from "@/config"

export function createApp() {
  const app = createSSRApp(App);
	app.component('m-tabbar', mTabbar)
  app.use(tmui, { ...config, shareDisable: false } as Tmui.tmuiConfig)
  return {
    app,
    Pinia
  };
}
